<extend name="main/index" />
<block name="main">

<!-- {extend name="main/index" /} -->
<!-- {block name="main"} -->
<!-- Start right content -->
<div class="content-page">
    <!-- ============================================================== -->
    <!-- Start Content here -->
    <!-- ============================================================== -->
    <div class="content">
        <!-- Page Heading Start -->
        <div class="page-heading">
            <h1><i class='fa fa-table'></i>编辑用户</h1>
            <h3>Basic & Simple Sortable Tables</h3></div>
        <!-- Page Heading End-->                <!-- Your awesome content goes here -->
		<div class="row">
		<div class="col-md-12">
		<form action="{:url('admin/user/update', ['id'=>$data['id']])}" method='post' class="form-horizontal">
		<div class="form-group" style="">
			<label for="" class="col-sm-2 control-label">用户名：</label>
			<div class="col-sm-4">
				<input type="text" name="username" class="form-control" value="{$data.username}">
			</div>
		</div>
		<div class="form-group">
			<label for="" class="col-sm-2 control-label">真实姓名：</label>
			<div class="col-sm-4">
				<input  type="text" name="name" class="form-control" value="{$data.name}">
			</div>
		</div>
		
		<div class="form-group">
		    <div class="col-sm-offset-2 col-sm-4">
		      <input type="hidden" name="id" value="">
		      <button type="submit" class="btn btn-default">修 改</button>
		    </div>
		</div>
		
	</form>
		</div>
	</div>

    

        <!-- Footer Start -->
        
        <!-- Footer End -->
    </div>
    <!-- ============================================================== -->
    <!-- End content here -->
    <!-- ============================================================== -->

</div>
<!-- End right content -->

<!-- {/block} -->
</block>